﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Obra.Api
{
    public interface IEntity
    {
        /// <summary>
        /// The name of the entity.
        /// </summary>
        string Name
        {
            get;
        }

        /// <summary>
        /// The description of the entity.
        /// </summary>
        string Description
        {
            get;
        }

        /// <summary>
        /// An opaque value that unique identifies this entity.
        /// </summary>
        string Id
        {
            get;
        }

        /// <summary>
        /// Timestamp of when this entity was last modified.
        /// </summary>
        DateTime LastModified
        {
            get;
        }

        /// <summary>
        /// The tags (labels, keywords) attached to this entity.
        /// </summary>
        IList<string> Tags
        {
            get;
        }
    }
}
